home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / util / sys / SerialPrefs292.lha / serialprefs_2.9.2 / Install_Eng < prev    next >
Text File  |  1998-02-15  |  2KB  |  118 lines

  1. ;
  2. ;$VER: 1.02 SerialPrefs Installer (C) 1997-98 by Lorenzo Succi.
  3. ;
  4.  
  5. (welcome "Welcome to the SerialPrefs Installer v1.02")
  6. (set @app-name "SPInstall")
  7. (set #DESTDIR "SYS:Prefs")
  8.  
  9. (set #DESTLIB "Libs:")
  10. (set #DEFICON 0)
  11. (set #GETICON 0)
  12. (set #DEFLIB 0)
  13.  
  14.  
  15. (message "\n\nWelcome to the SerialPrefs Installer\n"
  16.          "(c) 1996-98 Lorenzo Succi.\n\n"
  17.          "This program install the SerialPrefs 2.9.2\n"
  18.          " in your computer.\n"
  19.          "SerialPrefs enhance the control and the power\n"
  20.          "of your serial.device, in the respect of the original\n"
  21.                  "directives of Commodore.\n"
  22.                  "Read the documentation for more informations.\n\n"
  23.  
  24. )
  25.  
  26. (set #DESTDIR
  27.     (askdir
  28.         (prompt "Select the drawer where do you want to install SerialPrefs\n"
  29.         )
  30.         (help @askdir-help)
  31.         (default #DESTDIR)
  32.     )
  33. )
  34. (set @default-dest #DESTDIR)
  35.  
  36. (set #GETICON
  37.     (askchoice
  38.         (prompt "Select the icon type for SerialPrefs.\n"
  39.                 
  40.         )
  41.         (help @askchoice-help)
  42.         (choices "Normal"
  43.              "Magic Wb"
  44.              "Newicon"
  45.         (default #DEFICON)
  46.     )
  47. )
  48.  
  49. )
  50.  
  51.  
  52.  
  53. (copyfiles
  54.     (prompt "Copying Gui.library")
  55.     (help @copyfiles-help)
  56.     (source "libs/Gui.library")
  57.     (dest #DESTLIB)
  58.     (noposition)
  59.     (optional fail force)
  60. )
  61.  
  62.  
  63. (copyfiles
  64.     (prompt "Copying SerialPrefs")
  65.     (help @copyfiles-help)
  66.     (source "bin/SerialPrefs")
  67.     (dest #DESTDIR)
  68.     (noposition)
  69.     (optional fail force)
  70. )
  71.  
  72.  
  73.  
  74. (if (= #GETICON 0)
  75. (copyfiles
  76.     (prompt "Copying default icon")
  77.     (help @copyfiles-help)
  78.     (source "icons/NN")
  79.     (newname "SerialPrefs.info")
  80.     (dest #DESTDIR)
  81.     (noposition)
  82.     (optional fail force)
  83. )
  84.  
  85. endif)
  86.  
  87. (if (= #GETICON 1)
  88. (copyfiles
  89.     (prompt "Copying MagicWb icon")
  90.     (help @copyfiles-help)
  91.     (source "icons/MWB")
  92.     (newname "SerialPrefs.info")
  93.     (dest #DESTDIR)
  94.     (noposition)
  95.     (optional fail force)
  96. )
  97.  
  98. endif)
  99.  
  100. (if (= #GETICON 2)
  101. (copyfiles
  102.     (prompt "Copying Newicon icon")
  103.     (help @copyfiles-help)
  104.     (source "icons/NI")
  105.     (newname "SerialPrefs.info")
  106.     (dest #DESTDIR)
  107.     (noposition)
  108.     (optional fail force)
  109. )
  110.  
  111. endif)
  112.  
  113.  
  114. (if (> (exists ("c:multiview")) 0) (set #mvpath "c:") )
  115. (if (> (exists ("sys:Utilities/multiview")) 0) (set #mvpath "sys:Utilities") )
  116.  
  117. (run (cat "run " #mvpath "/multiview Changes.readme") )
  118.